package com.dongjiantong.quarantine.serviceImpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongjiantong.mybatis.ServiceMybatis;
import com.dongjiantong.quarantine.mapper.BreedReportsFileMapper;
import com.dongjiantong.quarantine.model.BreedReportsFile;
import lombok.extern.slf4j.Slf4j;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by mz on 22/11/17.
 *
 */
@Slf4j
@Service(version = "1.0.0")
public class BreedReportsFileReadServiceImpl extends ServiceMybatis<BreedReportsFile> implements BreedReportsFileReadService{

    @Resource
    private BreedReportsFileMapper breedReportsFileMapper;

    /**
     * 查询图片或者视屏
     *
     * @param map 参数
     * @return List<String>
     */
    @Override
    public List<String> findListByType(Map<String, Object> map) {

        return breedReportsFileMapper.findListByType(map);
    }
}
